package com.cy.pet.common.service;

import com.cy.pet.common.pojo.Cart;

import java.util.List;

/**
 * @description:
 * @author: LiuXingYu
 * @date: 2021/9/30 15:30
 */
public interface CartService {
    List<Cart> cartGetAll(String userName);

    Boolean cartDeleteOne(Integer id);

    Boolean cartDeleteAll(String userName);

    Boolean addCart(String userName, Integer itemId);
}